import tkinter as tk


def creatMainWindow():
    #创建窗口
    global app
    app = tk.Tk()
    app.title("音乐")
    # 窗口最大化
    app.state('zoomed')

    # 定义Label字体颜色列表
    global color
    color = ["red", "blue", "green", "purple", "black"]

    # 设置图标
    app.iconphoto(False, tk.PhotoImage(file='Ico.png'))

def mainWindowLoop():
    app.mainloop()